import request from '@/utils/request'

// 查询间接项目-项目估值列表
export function listCompanyProjectValuation(query) {
  return request({
    url: '/projectVal/companyProjectValuation/list',
    method: 'get',
    params: query
  })
}

// 查询间接项目-项目估值详细
export function getCompanyProjectValuation(id) {
  return request({
    url: '/projectVal/companyProjectValuation/' + id,
    method: 'get'
  })
}

// 保存间接项目-项目估值
export function saveCompanyProjectValuation(data) {
  return request({
    url: '/projectVal/companyProjectValuation/save',
    method: 'post',
    data: data
  })
}

// 删除间接项目-项目估值
export function delCompanyProjectValuation(id) {
  return request({
    url: '/projectVal/companyProjectValuation/' + id,
    method: 'delete'
  })
}

// 导出间接项目-项目估值
export function exportCompanyProjectValuation(query) {
  return request({
    url: '/projectVal/companyProjectValuation/export',
    method: 'get',
    params: query
  })
}
